/**
 * @description: 生成随机颜色
 * @returns {string}
 */
export const generateHexColor = () => {
    var letters = "0123456789ABCDEF";
    var color = "#";

    for (var i = 0; i < 6; i++) {
        var randomIndex = Math.floor(Math.random() * 16);
        color += letters[randomIndex];
    }

    return color;
}
